package practice.adil.encrypordecryp.JavaEncryptonTwo;

import sun.misc.BASE64Encoder;

/**
 * Created by 李园 - Adil on 2017/12/19.
 */
public class EncryptionBase64 {

    public static String encryptBASE64(byte[] key)  {
        return (new BASE64Encoder()).encodeBuffer(key);
    }
}
